﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Services;
using BussinessSMS;
using System.Web.Profile;

public partial class WebMethod_AdminWebmethod : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    public static ProfileBase GetProfileBaseObj()
    {
        ProfileBase proBase = (ProfileBase)HttpContext.Current.Profile;
        return proBase;
    }
    public static Employees GetGeneralObj()
    {
        Employees GeneralObj = new Employees(GetProfileBaseObj().GetPropertyValue("UserId").ToString());
        return GeneralObj;
    }
    [WebMethod]
    public static void SaveEmployeeInfo()
    {

    }
}